package com.wsjzzcbq.qianyuan.sys.param;

import com.wsjzzcbq.qianyuan.common.bean.BasicParam;
import lombok.Data;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * AddSysRoleParam
 *
 * @author wsjz
 * @date 2022/03/12
 */
@Data
public class AddSysRoleParam implements BasicParam {

    /**
     * id
     */
    private String id;

    /**
     * 角色名称
     */
    @NotEmpty(message = "角色名称不能为空")
    private String name;

    /**
     * 菜单id
     */
    private List<String> menuIds;
}
